package com.ganeshkrishnan.globald.model;

import java.util.Date;

import com.ganeshkrishnan.globald.abstracts.BaseObject;

public class Polls extends BaseObject {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	private int					ID;
	private long				createrID;
	private long				recipientID;
	//1=Req for Resource. For now  1 or 2
	private int					pollType;
	//resources requested
	private long				AmountReq;
	//kind of resource 1=food,2=hay,3=water,4=wood,5=silver,6=gold
	// 1= army , 2=navy
	private int					ResType;
	private boolean				isActive;
	private Date				createdDate;

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public long getCreaterID() {
		return createrID;
	}

	public void setCreaterID(long createrID) {
		this.createrID = createrID;
	}

	public long getRecipientID() {
		return recipientID;
	}

	public void setRecipientID(long recipientID) {
		this.recipientID = recipientID;
	}

	public int getPollType() {
		return pollType;
	}

	public void setPollType(int pollType) {
		this.pollType = pollType;
	}

	public long getAmountReq() {
		return AmountReq;
	}

	public void setAmountReq(long amountReq) {
		AmountReq = amountReq;
	}

	public int getResType() {
		return ResType;
	}

	public void setResType(int resType) {
		ResType = resType;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
}
